In this part of the tutorial you will learn that:
- How to create and add SQLite.NET Use NuGet Package Manager in Xamarin.Forms projects.- How to create classes that have access to the data in the database.- How to use classes that have access to database data?
The requirements for doing this training are as follows:
- Install the latest version of Visual Studio 2019 on the system- Install the latest version of Mobile development with .NET on the system
Learn how to create a database using NuGet Package Manager in Xamarin.Forms with Visual Studio
1- Open Visual Studio.2- Create a new black Xamarin.Forms app .3- Select a name for the created file. The name selected in this article is LocalDatabaseTutorial.4- In the Solution Explorer section, select the LocalDatabasTutorial project and right-click on it.5- Select Manage NuGetPackeges .6- In the NuGet Packages Manager section, select the Brows tab.7- Search for sqlite-net-pcl and install it, then add it to the project.
Note:
The specifications of NuGet packages that are suitable for this tutorial and project are as follows:- Author (s): Frank A. Krueger- Id: sqlite-net-pcl- NuGet link: sqlite-net-plcBuild the solution, then you can make sure there are no errors.
Learn how to create classes in a database in Xamarin.Forms with Visual Studio
1- In the Solution Explorer section, create a new class and name it Person.2- Replace all the codes listed below with the codes in the Person.cs section.
Read more on:https://www.dotnek.com/Blog/Apps/how-to-create-a-database-in-xamarin
link:https://dotnek.mystrikingly.com/
Related link:DotNek Website Analysis
:: برچسبها:
dotnek ,
seo ,
site ,
:: بازدید از این مطلب : 116
|
امتیاز مطلب : 0
|
تعداد امتیازدهندگان : 0
|
مجموع امتیاز : 0